package zj.com.net;

/**
 * Created by xi on 16/6/21.
 */
public class ErrorCode {

    //成功
    public static final int STATUS_OK = 200;

    public static final int STATUS_FAIL = 199;

    public static final int STATUS_IO_EXCEPTION = 0x1001;
    public static final int STATUS_NETWORK_EXCEPTION = 0x1003;
    //Device Token missing
    public static final int DEVICE_TOKEN_MISSING = 0x1004;
    //network unavailable
    public static final int NETWORK_UNAVAILABLE = 0x1005;
    //not login
    public static final int NOT_LOGIN = 0x1006;
    //No recommend doctors
    public static final int NO_RECOMMAND_DOCTORS = 0x1007;
    //No get doctor info
    public static final int NO_GET_DOCTOR_INFO = 0x1008;
    /**
     * upload picture failed
     */
    public static final int UPLOAD_PICTURE_FAILED = 0x1009;
    /**
     * socket time out
     */
    public static final int CONNECTTION_TIME_OUT = 0x100a;
    public static final int SDCARD_UNAVAILABLE = 0x100b;

    public static final int DATA_FORMAT_ERROR = 0x100c;
}
